<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Vue的属性绑定 v-model</title>
    <script src="js/vue.js"></script>
</head>
<body>

<div id="app">
<input type="text" v-model="msg">
    {{msg}}
</div>

<script>
    new Vue({
        el:"#app",
       data:{
            msg:"hello "
       }
    });
</script>
</body>
</html>